package com.uenpay.oem.ui.auth;

import com.uenpay.oem.data.bean.UserIdCardInfo;
import com.uenpay.util.app.base.BaseLoadingView;
import com.uenpay.util.app.base.BasePresenter;

/**
 * Author: liulou
 * Date: 2017/6/18.
 * desc:
 */

public interface AuthCameraContract {

    interface View extends BaseLoadingView {
        void recognitionResult(UserIdCardInfo info);

        void remake();
    }

    interface Presenter extends BasePresenter {
        /**
         * @param data
         * @param type 识别类型 0：正面 1：反面
         */
        void recognition(byte[] data, int type);
    }
}
